﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLKhachSan.DTO;
using System.Data;
using System.Data.SqlClient;
using QLKhachSan.DAO;

namespace QLKhachSan.BUS
{
    public class BUS_CTDatTiec
    {
        public static void themCTDatTiec(DTO_CTDatTiec p)
        {
            DAO_CTDatTiec.themCTDatTiec(p);
        }
        public static DataTable hienthiDanhSachCTDatTiec()
        {
            return DAO_CTDatTiec.hienthiDanhSachCTDatTiec();

        }

        public static void xoaCTDatTiec(DTO_CTDatTiec p)
        {
            DAO_CTDatTiec.xoaCTDatTiec(p);
        }
        
        public static DataTable hienthiDanhSachCTDatTiecDeThanhToan(DTO_DatTiec p)
        {
            return DAO_CTDatTiec.hienthiDanhSachCTDatTiecDeThanhToan(p);

        }
        public static DataTable hienthiDanhSachCTThongKe()
        {
            return DAO_CTDatTiec.hienthiDanhSachCTThongKe();
        }
        
    }
}
